<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" />

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta content="yes" name="apple-mobile-web-app-capable" /> 
<meta content="black" name="apple-mobile-web-app-status-bar-style" />
<meta content="telephone=no" name="format-detection" />
<script src="/static/mobile/js/jquery-1.10.2.min.js"></script>
<link rel="stylesheet" type="text/css" href="/static/mobile/css/css.css" />
<link type="text/css" rel="stylesheet" href="/static/mobile/css/tbjl.css" />
<link rel="stylesheet" type="text/css" href="/static/mobile/css/layout.css" />
<link rel="stylesheet" type="text/css" href="/static/mobile/css/common.css" />
<title><?php echo CON_WEBNAME;?></title>
</head>

<body>
<!--头部开始-->
<div class="top">
<!--	<img src="/static/mobile/images/ychapplogo.png">-->
    公告说明
    <a href="javascript:history.go(-1)" class="new-a-back">
    	<span>返回</span>
    </a>
</div>
<!--头部结束-->

<!--主体内容开始-->
<div class="money-list qjys">
	<input type="hidden" id="page" value="1"/>
	<div class="announ">
    	<ul id="ulobj">
    		<?php foreach ($list as $val){?>
        	<li>
            <a href="/mobile/notices/content/<?php echo $val['id'];?>.html"><div style="padding:5px;">
            	<?php echo $val['title'];?>
                <p><span><?php echo date('Y-m-d',$val['ptime']);?></span></p>
            </div></a>
            </li>
            <?php }?>
        </ul>
    </div>
    
    <div class="tb-btn" style="margin-top:30px;">
	<a href="javascript:more();">查看更多</a>
	</div>
<script>

function more(){
	page = parseInt(document.getElementById('page').value);
	page = page+1;
	document.getElementById('page').value=page;
	var str = "";
	$.ajax({
		type: "GET",
		url: "/mobile/notices/more/"+page,
		data: "",
		success: function(ret){
	        for(i=0;i<ret.length;i++){
				//alert(ret[i].title);
				str += "<li>";
				str += "<div style=\"padding:5px;\">";
				str += "<a href=\"/mobile/notices/content/"+ret[i].id+".html\">"+ret[i].title+"</a>";
				str += "<p><span>"+ret[i].ptime+"</span></p>";
				str += "</div>";
				str += "</li>";
	        }
	        var oldstr = document.getElementById('ulobj').innerHTML;
	    	document.getElementById('ulobj').innerHTML = oldstr+str;
		},
		dataType: "json"
	});
	
}

</script>

</div>
<!--主体内容结束-->

<!--底部信息开始-->
<footer class="bottom-nav">
	<ul class="ulnav">
    	<li><a href="/mobile/borrow/index.html"><span class="icon lc"></span>
        <span>我要理财</span>
        </a></li>
    	<li><a href="/mobile/ucenter/index.html"><span class="icon zh"></span>
        <span>我的账号</span>
        </a></li>
    	<li><a href="/mobile/account/account_list.html"><span class="icon jy"></span>
        <span>交易记录</span>
        </a></li>
    	<li class="active"><a href="/mobile/notices/index.html"><span class="icon sm"></span>
        <span>公告说明</span>
        </a></li>
    </ul>
</footer>
<div style="display:none;">
<script type="text/javascript">
var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3Fbddfbd985badab4bfe8fee07203cc21e' type='text/javascript'%3E%3C/script%3E"));
</script>
<script src="http://s11.cnzz.com/stat.php?id=4565714&web_id=4565714&show=pic" language="JavaScript"></script>
</div>
<!--底部信息结束-->
</body>
</html>
